package cn.wandersnail.ble;

import java.util.HashMap;

/**
 * @ProjectName: SpringBreezePower
 * @Package: com.zzcyi.springbreezepower.config
 * @ClassName: Config
 * @Description: java类作用描述
 * @Author: qiangSir
 * @CreateDate: 2020/12/2 16:18
 * @UpdateUser: 更新者
 * @UpdateDate: 2020/12/2 16:18
 * @UpdateRemark: 更新说明
 * @Version: 1.0
 */
public class BleSppGattAttributes {

    public static String BLE_BATTERY_Characteristic;
    public static String BLE_SPP_Notify_Characteristic;
    public static String BLE_SPP_Service;
    public static String BLE_BATTERY_Service;
    public static String BLE_SPP_Write_Characteristic;
    public static String CLIENT_CHARACTERISTIC_CONFIG;
    private static HashMap<String, String> attributes = new HashMap();


    static {
        CLIENT_CHARACTERISTIC_CONFIG = "0783b03e-8535-b5a0-7140-a304d2495cb8";
        BLE_SPP_Service = "00010203-0405-0607-0809-0a0b0c0d1910";//0000fff0-0000-1000-8000-00805f9b34fb
        BLE_SPP_Notify_Characteristic = "00010203-0405-0607-0809-0a0b0c0d2b10";//0000fff4-0000-1000-8000-00805f9b34fb
        BLE_SPP_Write_Characteristic = "00010203-0405-0607-0809-0a0b0c0d2b11";//0000fff4-0000-1000-8000-00805f9b34fb

        BLE_BATTERY_Service = "0000180f-0000-1000-8000-00805f9b34fb";
        BLE_BATTERY_Characteristic = "00002a19-0000-1000-8000-00805f9b34fb";
        attributes.put(BLE_SPP_Service, "BLE SPP Service");
        attributes.put(BLE_SPP_Notify_Characteristic, "BLE SPP Notify Characteristic");
        attributes.put(BLE_SPP_Write_Characteristic, "BLE SPP Write Characteristic");
        attributes.put(BLE_BATTERY_Characteristic, "BLE SPP AT Characteristic");
    }

}
